package com.ky.my.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ky.common.vo.R;
import com.ky.my.entity.Courseprogress;
import com.ky.my.mapper.CourseprogressMapper;
import com.ky.my.service.CourseprogressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hmt
 * @since 2024-06-20
 */
@Service
public class CourseprogressServiceImpl extends ServiceImpl<CourseprogressMapper, Courseprogress> implements CourseprogressService {
    @Autowired
    private CourseprogressMapper courseprogressMapper;


    @Override
    public R findAll() {
        List<Courseprogress> selectList = courseprogressMapper.selectList(null);
        return R.ok(selectList);
    }
}
